package com.renting.modules.sys.dao;

import java.util.List;
import java.util.Optional;

import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import com.renting.modules.sys.entity.User;

@Repository
public interface UserDao extends CrudRepository<User, String> {

	List<User> findAll();

	Optional<User> findById(String id);
}
